<ion-view view-title="整体转让">

    <!--描述：滑动块-->
    <ion-content class="scroll-content has-header">
        <!--描述：下拉刷新-->
        <ion-refresher pulling-text="下拉刷新..." on-refresh="doRefresh()"></ion-refresher>
        <div class="list">
            <li class="item item-input-inset">
                <label class="font-gray-my">地域：</label>
                <div class="input-value small" ng-click="doSelectProvince()">{{input.province.name}}</div>
                <div class="input-value small" ng-click="doSelectCity()">{{input.city.name}}</div>
                <div class="input-value small" ng-click="doSelectDistrict()">{{input.district.name}}</div>
            </li>

            <li class="item item-input-inset">
                <label class="item-input-wrapper">
	   	    	   <input type="text"  placeholder="请输入关键字" ng-model="input.keywords" class="item-input-wrapper"/>
	   	    	   <i class="icon ion-search font-large-my" on-tap="search()"></i>
		 	    </label>
            </li>

            <li class="item padding-0 item-borderless">
                <div class="row padding-0 font-large-my">
                    <!--<div class="col text-center" on-tap="orderByTime()" ng-class="{'assertive':order==1||order==2}">
						发布时间&nbsp;
						<i class="icon ion-ios-arrow-up icon-i-my paixu_top " ng-class="{'font-gray-my':order==2}"></i>
						<i class="icon ion-ios-arrow-down icon-i-my paixu_bottom" ng-class="{'font-gray-my':order==1}"></i>
					</div>-->
                    <div class="col text-center" on-tap="orderMo()" ng-class="{'assertive':order==0}">
                       	 默认排序&nbsp;
                    </div>
                    <div class="col text-center" on-tap="orderByPrice()" ng-class="{'assertive':order==3||order==4}">
                        	价格&nbsp;
                        <i class="icon ion-ios-arrow-up icon-i-my paixu_top" ng-class="{'font-gray-my':order==4}"></i>
                        <i class="icon ion-ios-arrow-down icon-i-my paixu_bottom" ng-class="{'font-gray-my':order==3}"></i>
                    </div>
                </div>
            </li>
            
            <li class="item padding-0">
                <div class="padding-5 item-text-wrap text-align-my">
                    <span class="padding-5 font-large-my" style="font-weight: bold;">价格:</span>
                    <span class="padding-5 font-middle-my" ng-class="{'assertive':input.price==''}" on-tap="get_price('')">全部</span>
                    <span class="padding-5 font-middle-my" ng-repeat="p in price" ng-class="{'assertive':input.price==p.value}" ng-model="input.price"
                        on-tap="get_price(p.value)">{{p.name}}</span>
                </div>
            </li>
            
            <li class="item text-center padding font-large-my font-gray-my" ng-if="list.length==0||list==null">
                <i class="icon ion-sad-outline font-1rem-my"></i> 对不起,没有符合该条件的转让....
            </li>
            <li class="item text-center padding font-small-my font-gray-my" ng-if="list.length>0">
				共为您搜索到<span class="assertive font-middle-my">{{total}}</span>条商品信息 
			</li>
                
            <!--1、旗舰店生产设备转让-->
            <!--<li class="item item-icon-right item-icon-left item-borderless">
                <i class="icon ion-android-apps font-1rem-my assertive"></i> 旗舰店生产设备转让
                <i class="icon ion-android-more-horizontal font-1rem-my assertive"></i>
            </li>-->
            <li class="item padding-0" ng-repeat="info in list" on-tap="onshow_detail(info.goods_id)">
                <div class="row padding-0">
                    <div class="col-25 item-image">
                        <img src="{{info.image}}" ng-if="info.image" />
                        <img src="{{noImg}}" ng-if="info.image==''||info.image==null" />
                    </div>
                    <div class="col  margin-left-10-my">
                        <p class="font-small-my">{{info.goods_name}}</p>
                        <p class="font-small-my">大致价格：<span class="assertive">{{info.price | currency:'¥'}}</span></p>
                        <p class="font-small-my">地区：{{info.region_name}}</p>
                        <p class="font-small-my">发布时间：{{info.create_time}}</p>
                    </div>
                </div>
            </li>
        </div>
        <ion-infinite-scroll ng-if="!isLoad" immediate-check="false" on-infinite="doRefreshMore()" distance="1%"></ion-infinite-scroll>
    </ion-content>
</ion-view>